package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Module entity. @author MyEclipse Persistence Tools
 */

public class Module  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String name;
     private Integer sort;
     private Set functions = new HashSet(0);
     private Set funs=new HashSet(0);


    // Constructors

    /** default constructor */
    public Module() {
    }

    
    /** full constructor */
    public Module(String name, Integer sort, Set functions) {
        this.name = name;
        this.sort = sort;
        this.functions = functions;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return this.sort;
    }
    
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Set getFunctions() {
        return this.functions;
    }
    
    public void setFunctions(Set functions) {
        this.functions = functions;
    }


	public Set getFuns() {
		return funs;
	}


	public void setFuns(Set funs) {
		this.funs = funs;
	}
   








}